import Layout from '@/layout'
export default {

  path: '/employees',
  component:Layout,
  name: 'employees',
  children: [
    { 
      path: '', 
      component: () => import('@/views/employees'),
      name: 'employees',
      meta: {
        title: '员工',
        icon: 'people'
      }
    },
    { 
      // 不加/代表相对路径，就是相对上面的路径
      // /employees/detail
      path: 'detail', 
      component: () => import('@/views/employees/detail.vue'),
      hidden: true,
      meta: {
        title: '员工详情',
      }
    },
    { 
      path: 'print', 
      component: () => import('@/views/employees/print.vue'),
      hidden: true,
      meta: {
        title: '打印',
      }
    },
  ]
}